Skip to content

Add support for customDescriptionGenerators (for compiler debugging) - #40308

Merged
Ron Buckton (rbuckton) merged 1 commit into
masterfrom
customDescriptionGenerator
Sep 3, 2020
Merged

Ron Buckton (rbuckton) merged 1 commit into
masterfrom
customDescriptionGenerator

Conversation

@rbuckton

Copy link
Copy Markdown
Contributor

This adds a custom watch/locals description generator for use when debugging the compiler using the new "customDescriptionGenerators" feature recently added to the new preview js debugger for VS Code.

This adds custom Watch window descriptions for the following kinds of objects in the compiler:

  • Symbol
  • Type
  • Node
  • NodeArray
  • FlowNode

Examples:

image

image

Instructions for enabling this when debugging can be found in .vscode/launch.template.json.

]
],

// NOTE: To use this, you must switch the "type" above to "pwa-node". You may also need to follow the instructions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this comment will be obsolete in the next VS Code release.

@rbuckton
Ron Buckton (rbuckton) merged commit d896353 into master Sep 3, 2020
@rbuckton
Ron Buckton (rbuckton) deleted the customDescriptionGenerator branch September 3, 2020 03:05
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants